#include "projectlistbox.h"
#include "../winsys.h"
#include <windowsx.h>

CListBoxWindow::CListBoxWindow(CWindow* parent, int ControlID) {
	HWND hWnd = CreateWindowEx(0, "listbox", TEXT(""), 
		WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_CLIPCHILDREN,
		0, 0, 100, 100, parent->GetHWND(), (HMENU)ControlID, g_hInstance, NULL);

	ListBox_AddString(hWnd, TEXT("asdfasdf"));
	ListBox_AddString(hWnd, TEXT("asdfasdf"));
	ListBox_AddString(hWnd, TEXT("asdfasdf"));
	ListBox_AddString(hWnd, TEXT("asdfasdf"));
	ListBox_AddString(hWnd, TEXT("kkkkkkk"));
	SetHWND(hWnd);
}

CListBoxWindow::~CListBoxWindow() { }
